home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
007
/
datescrn.arc
/
CLR_SCRN.C
< prev
next >
Wrap
Text File
|
1985-12-12
|
1KB
|
23 lines
/****************************************************************************/
/* */
/* This function was written by Jim Niederriter for the Lattice `C' Compiler*/
/* on the IBM Personal Computer or compatible, running DOS 2.0. */
/* */
/* It requires that the system be booted with a CONFIG.SYS file on the boot */
/* disk containing the record: DEVICE=ANSI.SYS */
/* */
/* In addition, the ANSI.SYS file from the DOS 2.0 disk should also be on */
/* the boot disk. */
/* */
/* See Chapter 13 of the DOS 2.0 Manual for further explanation. */
/* */
/****************************************************************************/
/* clr_scrn() */
/* this funtion clears the screen and sets the cursor position to 0,0 */
int clr_scrn()
{
cprintf("\x1B[2J");
}